package mvc;

import java.lang.reflect.Array;
import java.lang.reflect.Method;


public class Test {

	@org.junit.Test
	public void test() {
		//System.out.println(String.class.equals(String.class));
		
		System.out.println(Integer.class.isPrimitive());
	/*	
		String s = "e";
		System.out.println(s.substring(0, 1).toUpperCase() + s.substring(3));
	*/
	}
	
	@org.junit.Test
	public void pInjector() {
		Method[] m = T.class.getMethods();
		
		Class<?> types[] = m[0].getParameterTypes();
		
		Object a = Array.newInstance(int.class, 2); 
		
		Array.set(a, 0, 3);
		
		System.out.println(types[0].getComponentType());
		
	}
}

class T {
	public void t(String[] a){
		
	}
}